/*#include<stdio.h>
#include<string.h>
int main()
{
    char s1[20000]={0},s2[20000]={0};
    while(gets(s1)&&gets(s2)!=EOF)
    {
    int i,j;
    for(i=0;i<=strlen(s1);i++)
    {
        int flag=1;
        for(j=0;j<strlen(s2);j++)
        {
            if(s1[i]==s2[j]&&(s1[i]!='\0'))
            {
                flag=0;
                break;
            }
        }
        if(flag)
        printf("%c",s1[i]);
    }
    printf("\n");
    }
    return 0;
}*/
/*#include<stdio.h>
#include<string.h>
int main()
{
	char a[10001] = { 0 }, b[10001] = { 0 };
	
    while(gets(a)&&gets(b)!=EOF)
    {
	for (int i = 0;i < strlen(a);i++)
	{
		if (strchr(b, a[i]))
			continue;
		else
			printf("%c", a[i]);
	}
    printf("\n");
    }
	return 0;
}*/
#include<stdio.h>
int main(void)
{
char c;
while(c=getchar())
{
//c=getchar();
if(c==EOF)
break;
while(c!='\n'){
if(c=='-') printf("fu");
else if(c=='0') printf("ling");
else if(c=='1') printf("yi");
else if(c=='2') printf("er");
else if(c=='3') printf("san");
else if(c=='4') printf("si");
else if(c=='5') printf("wu");
else if(c=='6') printf("liu");
else if(c=='7') printf("qi");
else if(c=='8') printf("ba");
else if(c=='9') printf("jiu");
c=getchar();
if(c!='\n')
printf(" ");
}
printf("\n");
}
return 0;
}
